import { createApp } from 'vue'
//引入路由
import router from "./router/index.js";
//移动端适配
import "amfe-flexible";
// 引用UI组件
import 'vant/lib/index.css';
import { Button, IndexAnchor,IndexBar,Image as VanImage,Search,Form,Field,NavBar,Icon,Swipe, SwipeItem,Grid, GridItem,Tabbar, TabbarItem ,Sidebar, SidebarItem,Cell, CellGroup,Dialog,NoticeBar,Uploader,List,DropdownMenu,DropdownItem,Card,Tag,Popup} from 'vant';
//引用全局css
import "./assets/css/global.css"
import App from './App.vue'


createApp(App).use(router).use(Button).use(Search).use(Swipe).use(SwipeItem).use(Icon).use(Grid).use(GridItem).use(Tabbar).use(TabbarItem).use(Form).use(Field).use(NavBar).use(VanImage).use(IndexBar).use(IndexAnchor).use(Sidebar).use(SidebarItem).use(Cell).use(CellGroup).use(Dialog).use(NoticeBar).use(Uploader).use(List).use(DropdownMenu).use(DropdownItem).use(Card).use(Tag).use(Popup).mount('#app')
